package com.zhiyou100.model;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

public class Tea implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8339364943482614416L;
	private Integer id;
	private String name;
	private Date creatTime;
	private String sex;
	private List<Stu> stus;
	private Integer index;

	public Tea(Integer id, String name, Date creatTime, String sex, List<Stu> stus, Integer index) {
		super();
		this.id = id;
		this.name = name;
		this.creatTime = creatTime;
		this.sex = sex;
		this.stus = stus;
		this.index = index;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public List<Stu> getStus() {
		return stus;
	}

	public void setStus(List<Stu> stus) {
		this.stus = stus;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Tea() {
		super();
	}

	@Override
	public String toString() {
		return "Tea [id=" + id + ", name=" + name + ", creatTime=" + creatTime + ", sex=" + sex + ", stus=" + stus
				+ ", index=" + index + "]";
	}

}
